<template>
    <div class="banner">
        <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
        <van-swipe-item v-for="(item,index) in Banner" :key="index">
            <img :src='item.pic' alt="">
        </van-swipe-item>
        </van-swipe>
    </div>
</template>

<script>
import {Jsop }from '../jsnop/jsonp.js'
export default {
    props:{
       Banner:{
           type:Object,
           default:null
           
       }
    },
    name:'Banner',
    data () {
        return {
         banners:[],
 
        }
    },
    created(){
    
            
    }
}
</script>
 
<style lang = "less" scoped>
.banner{
    position: relative;
}
    .my-swipe .van-swipe-item {
    color: #fff;
    font-size: .2rem;
    margin-top: .1rem;
    text-align: center;
    background-color: #39a9ed;
    img{
        width: 100%;
        display: block;
    }
  }
</style>